run-app

Purpose

Runs Grails using the installed container on port 8080

Examples

grails run-app
grails run-app -https // with HTTPS
grails test run-app
grails -Dserver.port=8090 -Denable.jndi=true -Ddisable.auto.recompile=true run-app

Description

Usage:

grails [env]* run-app

Arguments:

Supported system properties:

Fired Events:

This command will start Grails up in an embedded servlet container that can serve HTTP requests. The default container used is Tomcat However, alternative containers are supported via the plugin system. For example to run Grails with Jetty run the following two commands:

grails uninstall-plugin tomcat
grails install-plugin jetty

This target is not intended for deployment as the container in development mode is configured to auto-reload changes at runtime which has an overhead attached to it and will not scale well.